home *** CD-ROM | disk | FTP | other *** search
/ Champak 52 / Volume 52 - JOGO DISK .iso / Games / scoobycastillotenebroso.swf / scripts / DefineButton2_2311 / BUTTONCONDACTION on(release, releaseOutside).as < prev   
Text File  |  2007-10-01  |  469b  |  19 lines

  1. on(release, releaseOutside){
  2.    if(this.hitTest(_root.environnement1.crawl.hit_crawl))
  3.    {
  4.       this.swapDepths(_parent.swap);
  5.       _root.environnement1.crawl.gotoAndPlay("hidden");
  6.       stopDrag();
  7.       set("_root.controler:drag_this",false);
  8.       this._visible = false;
  9.    }
  10.    else
  11.    {
  12.       this.swapDepths(_parent.swap);
  13.       stopDrag();
  14.       set("_root.controler:drag_this",false);
  15.       this._x = 159.05;
  16.       this._y = -9.75;
  17.    }
  18. }
  19.